/**
 * 
 */
package dms.service;

import java.util.Date;

import dms.model.Building;
import dms.model.Dormitory;
import dms.model.form.PurchaseItem;
import dms.model.util.PageIterator;

/**
 * @author lrz
 *
 */
public interface PurchaseItemQueryService {

	PurchaseItem findById(Long id);
	
	PageIterator<PurchaseItem> findByBuilding(int start, int count, Building building, Date fromDate, Date toDate, Boolean processed, Boolean applied);
	
	PageIterator<PurchaseItem> findByDormitory(int start, int count, Dormitory dormitory, Date fromDate, Date toDate, Boolean processed, Boolean applied);
	
//	PageIterator<PurchaseItem> findByCampus(int start, int count, Campus campus, Date fromDate, Date toDate, Boolean processed, Boolean applied);
}
